package priv.menguer.decorator.service.impl;

import priv.menguer.decorator.service.Shape;

/**
 * @Title ShapeDecorator.java
 * @description TODO
 * @time 2018年10月26日 上午10:08:36
 * @author menguer@126.com
 * @version 1.0
 */
public abstract class ShapeDecorator implements Shape {
	protected Shape decoratedShape;

	public ShapeDecorator(Shape decoratedShape) {
		this.decoratedShape = decoratedShape;
	}

	public void draw() {
		decoratedShape.draw();
	}
}
